home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 3
/
Precision Software Applications Silver Collection Volume Three (PSM) (1993).iso
/
music2
/
mepody.exe
/
INVENTIO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-23
|
4KB
|
59 lines
#include <dos.h>
int melody[][2] = {
{ 0, 0},{349,100},{ 0,100},{440,100},{ 0,100},{349,100},{ 0,100}
,{524,100},{ 0,100},{349,100},{ 0,100},{698,100},{ 0,100},{660,100}
,{588,100},{524,100},{588,100},{524,100},{466,100},{440,100},{466,100}
,{440,100},{392,100},{349,100},{ 0,100},{440,100},{ 0,100},{524,100}
,{ 0,100},{440,100},{ 0,100},{698,100},{ 0,100},{524,100},{ 0,100}
,{880,100},{1048,100},{932,100},{1048,100},{880,100},{1048,100},{932,100}
,{1048,100},{880,100},{1048,100},{932,100},{1048,100},{698,100},{880,100}
,{784,100},{880,100},{698,100},{880,100},{784,100},{880,100},{698,100}
,{880,100},{784,100},{880,100},{588,100},{698,100},{660,100},{698,100}
,{588,100},{698,100},{660,100},{698,100},{588,100},{698,100},{660,100}
,{698,100},{494,100},{ 0,100},{392,100},{ 0,100},{588,100},{ 0,100}
,{494,100},{ 0,100},{698,100},{ 0,100},{588,100},{ 0,100},{784,100}
,{880,100},{784,100},{698,100},{660,100},{698,100},{660,100},{588,100}
,{524,100},{588,100},{524,100},{466,100},{440,100},{ 0,100},{588,100}
,{524,100},{494,100},{524,100},{494,100},{440,100},{392,100},{440,100}
,{392,100},{349,100},{330,100},{349,100},{330,100},{294,100},{262,100}
,{ 0,100},{524,100},{494,100},{524,100},{ 0,100},{330,100},{ 0,100}
,{349,100},{ 0,100},{524,100},{ 0,100},{330,100},{ 0,100},{524,100}
,{ 0,100},{294,100},{ 0,100},{494,100},{ 0,100},{524,400},{ 0,400}
,{ 0,200},{524,100},{ 0,100},{660,100},{ 0,100},{524,100},{ 0,100}
,{784,100},{ 0,100},{524,100},{ 0,100},{1048,100},{ 0,100},{988,100}
,{880,100},{784,100},{880,100},{784,100},{698,100},{660,100},{698,100}
,{660,100},{588,100},{524,100},{466,100},{524,100},{880,100},{524,100}
,{880,100},{466,100},{880,100},{524,100},{880,100},{440,100},{ 0,100}
,{466,100},{ 0,100},{392,100},{ 0,100},{466,100},{ 0,100},{392,100}
,{ 0,100},{588,100},{ 0,100},{392,100},{ 0,100},{784,100},{ 0,100}
,{698,100},{622,100},{588,100},{622,100},{588,100},{524,100},{466,100}
,{524,100},{466,100},{440,100},{392,100},{ 0,100},{466,100},{ 0,100}
,{588,100},{ 0,100},{466,100},{ 0,100},{784,100},{ 0,100},{588,100}
,{ 0,100},{932,100},{ 0,100},{554,100},{ 0,100},{932,100},{ 0,100}
,{554,100},{ 0,100},{932,100},{ 0,100},{554,100},{ 0,100},{588,100}
,{ 0,100},{440,100},{ 0,100},{698,100},{ 0,100},{588,100},{ 0,100}
,{880,100},{ 0,100},{698,100},{ 0,100},{784,100},{698,100},{784,100}
,{932,100},{524,100},{932,100},{588,100},{932,100},{660,100},{932,100}
,{524,100},{932,100},{698,100},{660,100},{698,100},{880,100},{494,100}
,{880,100},{554,100},{880,100},{588,100},{880,100},{494,100},{880,100}
,{660,100},{588,100},{660,100},{784,100},{440,100},{784,100},{494,100}
,{784,100},{554,100},{784,100},{440,100},{784,100},{698,100},{ 0,100}
,{588,100},{ 0,100},{466,100},{ 0,100},{588,100},{ 0,100},{392,100}
,{ 0,100},{698,200},{660,100},{ 0,100},{524,100},{ 0,100},{440,100}
,{ 0,100},{524,100},{ 0,100},{349,100},{ 0,100},{622,200},{588,100}
,{698,100},{622,100},{698,100},{588,100},{698,100},{622,100},{698,100}
,{588,100},{698,100},{622,100},{698,100},{466,100},{588,100},{524,100}
,{588,100},{466,100},{588,100},{524,100},{588,100},{466,100},{588,100}
,{524,100},{588,100},{392,100},{466,100},{440,100},{466,100},{392,100}
,{466,100},{440,100},{466,100},{392,100},{466,100},{440,100},{466,100}
,{330,100},{ 0,100},{262,100},{ 0,100},{392,100},{ 0,100},{330,100}
,{ 0,100},{466,100},{ 0,100},{392,100},{ 0,100},{524,100},{588,100}
,{524,100},{466,100},{440,100},{466,100},{440,100},{392,100},{349,100}
,{392,100},{349,100},{311,100},{294,100},{ 0,100},{392,100},{349,100}
,{330,100},{349,100},{330,100},{294,100},{262,100},{294,100},{262,100}
,{233,100},{220,100},{233,100},{220,100},{196,100},{175,100},{ 0,100}
,{349,100},{330,100},{349,100},{ 0,100},{220,100},{ 0,100},{233,100}
,{ 0,100},{349,100},{ 0,100},{220,100},{ 0,100},{349,100},{ 0,100}
,{196,100},{ 0,100},{330,100},{ 0,100},{349,800}};
#define MAX 382